From 7324d660df348536d3a58c060f311c5b12648acd Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 29 Jun 1993 16:53:32 +0000 Subject: [PATCH] (wait_reading_process_input): Use SIGIO only if defined. --- src/process.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/process.c b/src/process.c index 4c2fa5d7c00..95d6846f9a3 100644 --- a/src/process.c +++ b/src/process.c @@ -3190,8 +3190,10 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display) /* System sometimes fails to deliver SIGIO. */ kill (getpid (), SIGIO); #endif +#ifdef SIGIO if (XINT (read_kbd) && interrupt_input && (waitchannels & 1)) kill (0, SIGIO); +#endif /* If we have timed out (nfds == 0) or found some input (nfds > 0), we should exit. */ -- 2.30.2